package com.sgb.kjwl.model.entity.self;

import android.text.TextUtils;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.sgb.kjwl.model.entity.transport.CargoPublishEntity;
import com.sgb.kjwl.model.entity.transport.GoodsOfferUnits;
import com.sgb.kjwl.model.entity.transport.GoodsSourcePlace;
import com.sgb.kjwl.model.entity.transport.ProjectAddressDTO;
import com.sgb.kjwl.model.entity.transport.common.DiyFieldEntity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * @Author : 熊丽
 * @date :2021/3/2 0002$ 14:57$
 * @Description :$
 */
public class GoodsSourceDetail implements MultiItemEntity, Serializable {
    /**
     * 货源id （备注：新增不要填）
     */
    private Long id;
    /**
     * 货源No （备注：新增不要填）
     */
    private String no;

// TODO 发货地

    /**
     * 发货地省编号
     */
    private String provinceNo;
    /**
     * 发货地-省
     */
    private String provinceName;
    /**
     * 发货地市编号
     */
    private String cityNo;
    /**
     * 发货地-市
     */
    private String cityName;
    /**
     * 发货地区编号
     */
    private String districtNo;
    /**
     * 发货地-区
     */
    private String districtName;
    /**
     * 发货地详细地址
     */
    private String detailAddress;
    /**
     * 发货地经度
     */
    private double longitude;
    /**
     * 发货地纬度
     */
    private double latitude;
    /**
     * 发货人
     */
    private String sendPeople;
    /**
     * 发货人电话
     */
    private String sendPhone;
    /**
     * 2.0.1 新增字段 发货单位
     */
    private String sendGoodsUnit;
    /**
     * 2.0.1 新增字段 装车要求： 1运方装车,2业主装车,3商议
     */
    private String loadRequire;
    /**
     * 发货地-途径发货地距离
     */
    private String firstDistance;

// TODO 途径发货地

    /**
     * 途径发货地省编号
     */
    private String viaSendProvinceNo;
    /**
     * 途径发货地-省
     */
    private String viaSendProvinceName;
    /**
     * 途径发货地市编号
     */
    private String viaSendCityNo;
    /**
     * 途径发货地市-市
     */
    private String viaSendCityName;
    /**
     * 途径发货地区编号
     */
    private String viaSendDistrictNo;
    /**
     * 途径发货地区-区
     */
    private String viaSendDistrictName;
    /**
     * 途径发货地详细地址
     */
    private String viaSendDetailAddress;
    /**
     * 途径发货地 经度
     */
    private double viaSendLongitude;
    /**
     * 途径发货地 纬度
     */
    private double viaSendLatitude;
    /**
     * 途径发货地-途径目的地距离
     */
    private String secondDistance;

// TODO 途径目的地

    /**
     * 途径目的地 省编号
     */
    private String viaDestProvinceNo;
    /**
     * 途径目的地 省名称
     */
    private String viaDestProvinceName;
    /**
     * 途径目的地 市编号
     */
    private String viaDestCityNo;
    /**
     * 途径目的地 市名称
     */
    private String viaDestCityName;
    /**
     * 途径目的地 区编号
     */
    private String viaDestDistrictNo;
    /**
     * 途径目的地 区名称
     */
    private String viaDestDistrictName;
    /**
     * 途径目的地详细地址
     */
    private String viaDestDetailAddress;
    /**
     * 途径目的地经度
     */
    private double viaDestLongitude;
    /**
     * 途径目的地纬度
     */
    private double viaDestLatitude;
    /**
     * 途径目的地-目的地距离
     */
    private String thirdDistance;

// TODO 目的地

    /**
     * 目的地省编号 省编号
     */
    private String destProvinceNo;
    /**
     * 目的地省名称 省名称
     */
    private String destProvinceName;
    /**
     * 目的地市编号 市编号
     */
    private String destCityNo;
    /**
     * 目的地市名称 市名称
     */
    private String destCityName;
    /**
     * 目的地区名称 区编号
     */
    private String destDistrictNo;
    /**
     * 途径目的地 区名称
     */
    private String destDistrictName;
    /**
     * 目的地详细地址
     */
    private String destDetailAddress;
    /**
     * 目的地经度
     */
    private double destLongitude;
    /**
     * 目的地纬度
     */
    private double destLatitude;
    /**
     * 收货人
     */
    private String receptionPeople;
    /**
     * 收货人电话
     */
    private String receptionPhone;
    /**
     * 2.0.1 新增字段 收货单位
     */
    private String receiveGoodsUnit;
    /**
     * 2.0.1 新增字段 卸车要求：1运方卸车,2业主卸车,3商议
     */
    private String unloadRequire;
    /**
     * 总距离
     */
    private String totalDistance;
    /**
     * 装卸方式编号
     */
    private String handleTypeNo;


// TODO 装货时间

    /**
     * 装货时间
     */
    private Long shipmentTime;
    /**
     * 装货结束时间
     */
    private Long shipmentEndTime;
    /**
     * 2.0.1 新增 到货时间（日）
     */
    private Integer arrivalTime;

// TODO 货物信息

    /**
     * 货物类型编号
     */
    private String goodsModeNo;
    /**
     * 货物类型名称
     */
    private String goodsTypeName;
    /**
     * 包装方式no
     */
    private String packingModeNo;
    /**
     * 包装方式名称
     */
    private String packingModeName;
    /**
     * 货物重量
     */
    private String weight;
    /**
     * 货物体积
     */
    private String volume;
    /**
     * 2.0.1新增字段 履约保证金
     */
    private String performanceBond;

// TODO 费用要求

    /**
     * 信息费
     */
    private String messagePrice;
    /**
     * 运费
     */
    private String freight;
    /**
     * 1：元/趟，2：元/吨，3：元/方
     */
    private Integer freightUnit;
    /**
     * 运费总价
     */
    private String allFreight;

// TODO 车辆要求

    /**
     * 车型编号
     */
    private String carModelNo;
    /**
     * 车长编号
     */
    private String carLenNo;
    /**
     * 栏高
     */
    private String heightHurdle;
    /**
     * 是否自卸 0否 1是
     */
    private Integer isDump;
    /**
     * 2.0.1 备注改名成货车运输监督要求
     */
    private String note;

// TODO 付款约定

    /**
     * 支付方式
     */
    private String payType;
    /**
     * 收款账户要求
     */
    private String receiptAccountRequire;
    /**
     * 其他付款要求
     */
    private String otherPaymentRequire;
    /**
     * 发票要求
     */
    private String invoice;
    /**
     * 税率
     */
    private String tariff;
    /**
     * 开票公司名称
     */
    private String invoicingCompanyName;
    /**
     * 开票税号
     */
    private String invoicingTaxNumber;
    /**
     * 开票地址
     */
    private String invoicingAddress;
    /**
     * 开票企业电话
     */
    private String invoicingCompanyPhone;
    /**
     * 开票开户银行
     */
    private String invoicingBank;
    /**
     * 开票银行账户
     */
    private String invoicingBankAccount;
    /**
     * 开票开户行号
     */
    private String invoicingBankNumber;

// TODO 违约责任

    /**
     * 货物损坏或丢失赔偿约定
     */
    private String lostPromise;
    /**
     * 逾期装货或送货违约责任约定
     */
    private String overduePromise;
    /**
     * 其他约定
     */
    private String otherPromise;

    /**
     * v1.5 货源发布模式 0 普通模式  1 竞价模式
     */
    private Integer pattern;
    /**
     * 新增字段json
     */
    private String addField;
    /**
     * 企业编号
     */
    private String companyNo;
    /**
     * 企业名称
     */
    private String companyName;
    /**
     * 团队编号
     */
    private String teamNo;
    /**
     * 团队名称
     */
    private String teamName;
    /**
     * 报价截止时间 竞价模式使用
     */
    private Long endTime;
    /**
     * 联系人
     */
    private String contrcts;
    /**
     * 联系人电话
     */
    private String contrctsNumber;
    /**
     * 货源上下架状态 0下架 1上架
     */
    private String status;
    /**
     * 货源状态  0 待接单（接单中）/竞价中  1 已成交/已转订单   2 已结束/待处理  3 已失效
     */
    private Integer state;
    /**
     * 报价人数
     */
    private Integer offerNum;
    /**
     * 竞价货源 报价是否未处理 1 未处理  0 已处理
     */
    private String isUntreated;
    /**
     * 订单No
     */
    private String orderNo;
    /**
     * 用户编号
     */
    private String userNo;
    /**
     * 更新时间
     */
    private Long updateTime;
    /**
     * 装卸方式
     */
    private String handleTypeName;
    /**
     * 车型名称
     */
    private String carTypeName;
    /**
     * 车长名称
     */
    private String carLenName;
    /**
     * 企业地址
     */
    private String companyAddress;
    /**
     * 自定义字段
     */
    private List<DiyFieldEntity> diyField;
    /**
     * 1：企业发布 / 2：团队发布
     */
    private Integer terminal;
    /**
     * v1.8 是否已推送 1已推送 2未推送
     */
    private Integer isTrue;


    /**
     * 网易云信账号
     */
    private String imAccount;
    /**
     * 网易云信token
     */
    private String imToken;
    /**
     * 货源联系人IM账号
     */
    private String contrctsImAccount;
    /**
     * 经营邦app 最低报价
     */
    private String lowestPrice;
    /**
     * 经营邦app 意向车数
     */
    private Integer intentionCarNumber;
    /**
     * 装卸货地信息实体类
     */
    private GoodsSourcePlace place;
    /**
     * 车型在运营是否存在 0不存在 1存在
     */
    private int isCarType;
    /**
     * 货物类型在运营是否存在 0不存在 1存在
     */
    private int isGoodsType;
    /**
     * 注册时间
     */
    private Long registerTime;
    /**
     * 公司/团队地址
     */
    private String address;
    /**
     * 是否能接单1不能
     */
    private Integer isReception = 0;
    /**
     * 发布货源userNo里的phone
     */
    private String userAccount;
    private int itemType = 0;
    private String lastFreight;
    private String logo;
    private String endReason;

    /**
     * v2.0.6 运费选项 0一口价 1电议
     **/
    private Integer freightType;
    /**
     * v2.0.6 用车类型 0 零担 1 整车
     **/
    private Integer transportType;

    private String username;
    /**
     * v2.0.6 装货时间点
     */
    private Integer startPointTime;
    /**
     * v2.0.6 装货结束时间点
     */
    private Integer endPointTime;
    private boolean isBidding;
    //2.0.8
    private String transportationQuire;//运输要求
    private String transportationQualification;//运输资质
    private String renegePromise;//违约约定
    private String registeredMoney;//注册资金
    private String secondPartyDuty;//乙方责任约定
    private String projectDesc;//项目描述
    private ProjectAddressDTO projectAddress;//项目地址
    private String projectName;//项目名称
    private String prepaidProportion;//预付款比例 1-100 整数
    private String otherSettlementRequire;//其他结算要求
    private String otherOfferRequire;//其他要求报价
    private String motorcadeSize;//车队规模
    private boolean includeTax;//是否含税
    private String endContractPromise;//合同终止约定
    private String partyDuty;//甲方责任约定
    private String specification;//货物规格
    private String damagePromise;//货损约定
    private String damageCompensation;//货损赔偿
    private String offerType;//联系信息 一个或多个联系人+联系电话 使用[{}]形式
    private List<CargoPublishEntity.ContactInfoEntity> contactInfo;//联系信息 一个或多个联系人+联系电话
    private List<GoodsOfferUnits> goodsOfferUnits;
    private Integer offerAgreed;//报价已处理数量
    private Integer biddingSupplyOrderNum;
    private String secondGoodsTypeName;//2.1.4新增 二级货物类型。

    private int paymentAfterLoading;//装车后支付比例
    private int arrivalAcceptancePayment;//到货验收支付比例
    private String pricingType;//定价方式
    private int goodsPattern;//发货模式 1.临时货源  2.长期货源
    private String connection;//联系人
    private String connectionPhone;//联系电话
    private String shareUrl;
    //2.2.1.2新增
    //("货主信息是否展示  0表示不展示 1表示展示")
    private String whetherShow;

    //("货主单位")
    private String shipperOwnerUnit;

    //("货主联系人")
    private String shipperContact;

    //("货主联系电话")
    private String shipperPhone;

    public String getShareUrl() {
        return shareUrl;
    }

    public void setShareUrl(String shareUrl) {
        this.shareUrl = shareUrl;
    }

    public String getConnection() {
        return connection;
    }

    public void setConnection(String connection) {
        this.connection = connection;
    }

    public String getConnectionPhone() {
        return connectionPhone;
    }

    public void setConnectionPhone(String connectionPhone) {
        this.connectionPhone = connectionPhone;
    }

    public int getPaymentAfterLoading() {
        return paymentAfterLoading;
    }

    public void setPaymentAfterLoading(int paymentAfterLoading) {
        this.paymentAfterLoading = paymentAfterLoading;
    }

    public int getArrivalAcceptancePayment() {
        return arrivalAcceptancePayment;
    }

    public void setArrivalAcceptancePayment(int arrivalAcceptancePayment) {
        this.arrivalAcceptancePayment = arrivalAcceptancePayment;
    }

    public String getPricingType() {
        return pricingType;
    }

    public void setPricingType(String pricingType) {
        this.pricingType = pricingType;
    }


    public int getGoodsPattern() {
        return goodsPattern;
    }

    public void setGoodsPattern(int goodsPattern) {
        this.goodsPattern = goodsPattern;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getProvinceNo() {
        return provinceNo;
    }

    public void setProvinceNo(String provinceNo) {
        this.provinceNo = provinceNo;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityNo() {
        return cityNo;
    }

    public void setCityNo(String cityNo) {
        this.cityNo = cityNo;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getDistrictNo() {
        return districtNo;
    }

    public void setDistrictNo(String districtNo) {
        this.districtNo = districtNo;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
    }

    public String getSendPeople() {
        return sendPeople;
    }

    public void setSendPeople(String sendPeople) {
        this.sendPeople = sendPeople;
    }

    public String getSendPhone() {
        return sendPhone;
    }

    public void setSendPhone(String sendPhone) {
        this.sendPhone = sendPhone;
    }

    public String getSendGoodsUnit() {
        return sendGoodsUnit;
    }

    public void setSendGoodsUnit(String sendGoodsUnit) {
        this.sendGoodsUnit = sendGoodsUnit;
    }

    public String getLoadRequire() {
        return loadRequire;
    }

    public void setLoadRequire(String loadRequire) {
        this.loadRequire = loadRequire;
    }

    public String getFirstDistance() {
        return firstDistance;
    }

    public void setFirstDistance(String firstDistance) {
        this.firstDistance = firstDistance;
    }

    public String getViaSendProvinceNo() {
        return viaSendProvinceNo;
    }

    public void setViaSendProvinceNo(String viaSendProvinceNo) {
        this.viaSendProvinceNo = viaSendProvinceNo;
    }

    public String getViaSendProvinceName() {
        return viaSendProvinceName;
    }

    public void setViaSendProvinceName(String viaSendProvinceName) {
        this.viaSendProvinceName = viaSendProvinceName;
    }

    public String getViaSendCityNo() {
        return viaSendCityNo;
    }

    public void setViaSendCityNo(String viaSendCityNo) {
        this.viaSendCityNo = viaSendCityNo;
    }

    public String getViaSendCityName() {
        return viaSendCityName;
    }

    public void setViaSendCityName(String viaSendCityName) {
        this.viaSendCityName = viaSendCityName;
    }

    public String getViaSendDistrictNo() {
        return viaSendDistrictNo;
    }

    public void setViaSendDistrictNo(String viaSendDistrictNo) {
        this.viaSendDistrictNo = viaSendDistrictNo;
    }

    public String getViaSendDistrictName() {
        return viaSendDistrictName;
    }

    public void setViaSendDistrictName(String viaSendDistrictName) {
        this.viaSendDistrictName = viaSendDistrictName;
    }

    public String getViaSendDetailAddress() {
        return viaSendDetailAddress;
    }

    public void setViaSendDetailAddress(String viaSendDetailAddress) {
        this.viaSendDetailAddress = viaSendDetailAddress;
    }


    public String getSecondDistance() {
        return secondDistance;
    }

    public void setSecondDistance(String secondDistance) {
        this.secondDistance = secondDistance;
    }

    public String getViaDestProvinceNo() {
        return viaDestProvinceNo;
    }

    public void setViaDestProvinceNo(String viaDestProvinceNo) {
        this.viaDestProvinceNo = viaDestProvinceNo;
    }

    public String getViaDestProvinceName() {
        return viaDestProvinceName;
    }

    public void setViaDestProvinceName(String viaDestProvinceName) {
        this.viaDestProvinceName = viaDestProvinceName;
    }

    public String getViaDestCityNo() {
        return viaDestCityNo;
    }

    public void setViaDestCityNo(String viaDestCityNo) {
        this.viaDestCityNo = viaDestCityNo;
    }

    public String getViaDestCityName() {
        return viaDestCityName;
    }

    public void setViaDestCityName(String viaDestCityName) {
        this.viaDestCityName = viaDestCityName;
    }

    public String getViaDestDistrictNo() {
        return viaDestDistrictNo;
    }

    public void setViaDestDistrictNo(String viaDestDistrictNo) {
        this.viaDestDistrictNo = viaDestDistrictNo;
    }

    public String getViaDestDistrictName() {
        return viaDestDistrictName;
    }

    public void setViaDestDistrictName(String viaDestDistrictName) {
        this.viaDestDistrictName = viaDestDistrictName;
    }

    public String getViaDestDetailAddress() {
        return viaDestDetailAddress;
    }

    public void setViaDestDetailAddress(String viaDestDetailAddress) {
        this.viaDestDetailAddress = viaDestDetailAddress;
    }


    public String getThirdDistance() {
        return thirdDistance;
    }

    public void setThirdDistance(String thirdDistance) {
        this.thirdDistance = thirdDistance;
    }

    public String getDestProvinceNo() {
        return destProvinceNo;
    }

    public void setDestProvinceNo(String destProvinceNo) {
        this.destProvinceNo = destProvinceNo;
    }

    public String getDestProvinceName() {
        return destProvinceName;
    }

    public void setDestProvinceName(String destProvinceName) {
        this.destProvinceName = destProvinceName;
    }

    public String getDestCityNo() {
        return destCityNo;
    }

    public void setDestCityNo(String destCityNo) {
        this.destCityNo = destCityNo;
    }

    public String getDestCityName() {
        return destCityName;
    }

    public void setDestCityName(String destCityName) {
        this.destCityName = destCityName;
    }

    public String getDestDistrictNo() {
        return destDistrictNo;
    }

    public void setDestDistrictNo(String destDistrictNo) {
        this.destDistrictNo = destDistrictNo;
    }

    public String getDestDistrictName() {
        return destDistrictName;
    }

    public void setDestDistrictName(String destDistrictName) {
        this.destDistrictName = destDistrictName;
    }

    public String getDestDetailAddress() {
        if (TextUtils.isEmpty(destDetailAddress)) {
            return "/";
        }
        return destDetailAddress;
    }

    public void setDestDetailAddress(String destDetailAddress) {
        this.destDetailAddress = destDetailAddress;
    }


    public String getReceptionPeople() {
        return receptionPeople;
    }

    public void setReceptionPeople(String receptionPeople) {
        this.receptionPeople = receptionPeople;
    }

    public String getReceptionPhone() {
        return receptionPhone;
    }

    public void setReceptionPhone(String receptionPhone) {
        this.receptionPhone = receptionPhone;
    }

    public String getReceiveGoodsUnit() {
        return receiveGoodsUnit;
    }

    public void setReceiveGoodsUnit(String receiveGoodsUnit) {
        this.receiveGoodsUnit = receiveGoodsUnit;
    }

    public String getUnloadRequire() {
        return unloadRequire;
    }

    public void setUnloadRequire(String unloadRequire) {
        this.unloadRequire = unloadRequire;
    }

    public String getTotalDistance() {
        return totalDistance;
    }

    public void setTotalDistance(String totalDistance) {
        this.totalDistance = totalDistance;
    }

    public String getHandleTypeNo() {
        return handleTypeNo;
    }

    public void setHandleTypeNo(String handleTypeNo) {
        this.handleTypeNo = handleTypeNo;
    }

    public Long getShipmentTime() {
        return shipmentTime;
    }

    public void setShipmentTime(Long shipmentTime) {
        this.shipmentTime = shipmentTime;
    }

    public Long getShipmentEndTime() {
        return shipmentEndTime;
    }

    public void setShipmentEndTime(Long shipmentEndTime) {
        this.shipmentEndTime = shipmentEndTime;
    }

    public Integer getArrivalTime() {
        return arrivalTime;
    }

    public void setArrivalTime(Integer arrivalTime) {
        this.arrivalTime = arrivalTime;
    }

    public String getGoodsModeNo() {
        return goodsModeNo;
    }

    public void setGoodsModeNo(String goodsModeNo) {
        this.goodsModeNo = goodsModeNo;
    }

    public String getGoodsTypeName() {
        return goodsTypeName;
    }

    public void setGoodsTypeName(String goodsTypeName) {
        this.goodsTypeName = goodsTypeName;
    }

    public String getPackingModeNo() {
        return packingModeNo;
    }

    public void setPackingModeNo(String packingModeNo) {
        this.packingModeNo = packingModeNo;
    }

    public String getPackingModeName() {
        return packingModeName;
    }

    public void setPackingModeName(String packingModeName) {
        this.packingModeName = packingModeName;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }

    public String getPerformanceBond() {
        return performanceBond;
    }

    public void setPerformanceBond(String performanceBond) {
        this.performanceBond = performanceBond;
    }

    public String getMessagePrice() {
        return messagePrice;
    }

    public void setMessagePrice(String messagePrice) {
        this.messagePrice = messagePrice;
    }

    public String getFreight() {
        return freight;
    }

    public void setFreight(String freight) {
        this.freight = freight;
    }

    public Integer getFreightUnit() {
        return freightUnit;
    }

    public void setFreightUnit(Integer freightUnit) {
        this.freightUnit = freightUnit;
    }

    public String getAllFreight() {
        return allFreight;
    }

    public void setAllFreight(String allFreight) {
        this.allFreight = allFreight;
    }

    public String getCarModelNo() {
        return carModelNo;
    }

    public void setCarModelNo(String carModelNo) {
        this.carModelNo = carModelNo;
    }

    public String getCarLenNo() {
        return carLenNo;
    }

    public void setCarLenNo(String carLenNo) {
        this.carLenNo = carLenNo;
    }

    public String getHeightHurdle() {
        return heightHurdle;
    }

    public void setHeightHurdle(String heightHurdle) {
        this.heightHurdle = heightHurdle;
    }

    public Integer getIsDump() {
        return isDump;
    }

    public void setIsDump(Integer isDump) {
        this.isDump = isDump;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getReceiptAccountRequire() {
        return receiptAccountRequire;
    }

    public void setReceiptAccountRequire(String receiptAccountRequire) {
        this.receiptAccountRequire = receiptAccountRequire;
    }

    public String getOtherPaymentRequire() {
        return otherPaymentRequire;
    }

    public void setOtherPaymentRequire(String otherPaymentRequire) {
        this.otherPaymentRequire = otherPaymentRequire;
    }

    public String getInvoice() {
        return invoice;
    }

    public void setInvoice(String invoice) {
        this.invoice = invoice;
    }

    public String getTariff() {
        return tariff;
    }

    public void setTariff(String tariff) {
        this.tariff = tariff;
    }

    public String getInvoicingCompanyName() {
        return invoicingCompanyName;
    }

    public void setInvoicingCompanyName(String invoicingCompanyName) {
        this.invoicingCompanyName = invoicingCompanyName;
    }

    public String getInvoicingTaxNumber() {
        return invoicingTaxNumber;
    }

    public void setInvoicingTaxNumber(String invoicingTaxNumber) {
        this.invoicingTaxNumber = invoicingTaxNumber;
    }

    public String getInvoicingAddress() {
        return invoicingAddress;
    }

    public void setInvoicingAddress(String invoicingAddress) {
        this.invoicingAddress = invoicingAddress;
    }

    public String getInvoicingCompanyPhone() {
        return invoicingCompanyPhone;
    }

    public void setInvoicingCompanyPhone(String invoicingCompanyPhone) {
        this.invoicingCompanyPhone = invoicingCompanyPhone;
    }

    public String getInvoicingBank() {
        return invoicingBank;
    }

    public void setInvoicingBank(String invoicingBank) {
        this.invoicingBank = invoicingBank;
    }

    public String getInvoicingBankAccount() {
        return invoicingBankAccount;
    }

    public void setInvoicingBankAccount(String invoicingBankAccount) {
        this.invoicingBankAccount = invoicingBankAccount;
    }

    public String getInvoicingBankNumber() {
        return invoicingBankNumber;
    }

    public void setInvoicingBankNumber(String invoicingBankNumber) {
        this.invoicingBankNumber = invoicingBankNumber;
    }

    public String getLostPromise() {
        return lostPromise;
    }

    public void setLostPromise(String lostPromise) {
        this.lostPromise = lostPromise;
    }

    public String getOverduePromise() {
        return overduePromise;
    }

    public void setOverduePromise(String overduePromise) {
        this.overduePromise = overduePromise;
    }

    public String getOtherPromise() {
        return otherPromise;
    }

    public void setOtherPromise(String otherPromise) {
        this.otherPromise = otherPromise;
    }

    public Integer getPattern() {
        return pattern;
    }

    public void setPattern(Integer pattern) {
        this.pattern = pattern;
    }

    public String getAddField() {
        return addField;
    }

    public void setAddField(String addField) {
        this.addField = addField;
    }

    public String getCompanyNo() {
        if (companyNo == null)
            return "";
        return companyNo;
    }

    public void setCompanyNo(String companyNo) {
        this.companyNo = companyNo;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getTeamNo() {
        if (teamNo == null)
            return "";
        return teamNo;
    }

    public void setTeamNo(String teamNo) {
        this.teamNo = teamNo;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public String getContrcts() {
        return contrcts;
    }

    public void setContrcts(String contrcts) {
        this.contrcts = contrcts;
    }

    public String getContrctsNumber() {
        return contrctsNumber;
    }

    public void setContrctsNumber(String contrctsNumber) {
        this.contrctsNumber = contrctsNumber;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getOfferNum() {
        return offerNum;
    }

    public void setOfferNum(Integer offerNum) {
        this.offerNum = offerNum;
    }

    public String getIsUntreated() {
        return isUntreated;
    }

    public void setIsUntreated(String isUntreated) {
        this.isUntreated = isUntreated;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getUserNo() {
        if (userNo == null)
            return "";
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getHandleTypeName() {
        return handleTypeName;
    }

    public void setHandleTypeName(String handleTypeName) {
        this.handleTypeName = handleTypeName;
    }

    public String getCarTypeName() {
        return carTypeName;
    }

    public void setCarTypeName(String carTypeName) {
        this.carTypeName = carTypeName;
    }

    public String getCarLenName() {
        return carLenName;
    }

    public void setCarLenName(String carLenName) {
        this.carLenName = carLenName;
    }

    public String getCompanyAddress() {
        return companyAddress;
    }

    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress;
    }

    public List<DiyFieldEntity> getDiyField() {
        return diyField;
    }

    public void setDiyField(List<DiyFieldEntity> diyField) {
        this.diyField = diyField;
    }

    public Integer getTerminal() {
        return terminal;
    }

    public void setTerminal(Integer terminal) {
        this.terminal = terminal;
    }

    public Integer getIsTrue() {
        return isTrue;
    }

    public void setIsTrue(Integer isTrue) {
        this.isTrue = isTrue;
    }

    public String getImAccount() {
        return imAccount;
    }

    public void setImAccount(String imAccount) {
        this.imAccount = imAccount;
    }

    public String getImToken() {
        return imToken;
    }

    public void setImToken(String imToken) {
        this.imToken = imToken;
    }

    public String getContrctsImAccount() {
        return contrctsImAccount;
    }

    public void setContrctsImAccount(String contrctsImAccount) {
        this.contrctsImAccount = contrctsImAccount;
    }

    public String getLowestPrice() {
        if (TextUtils.isEmpty(lowestPrice)) {
            return "0";
        }
        return lowestPrice;
    }

    public void setLowestPrice(String lowestPrice) {
        this.lowestPrice = lowestPrice;
    }

    public Integer getIntentionCarNumber() {
        if (intentionCarNumber == null) {
            return 0;
        }
        return intentionCarNumber;
    }

    public void setIntentionCarNumber(Integer intentionCarNumber) {
        this.intentionCarNumber = intentionCarNumber;
    }

    public GoodsSourcePlace getPlace() {
        return place;
    }

    public void setPlace(GoodsSourcePlace place) {
        this.place = place;
    }

    public int getIsCarType() {
        return isCarType;
    }

    public void setIsCarType(int isCarType) {
        this.isCarType = isCarType;
    }

    public int getIsGoodsType() {
        return isGoodsType;
    }

    public void setIsGoodsType(int isGoodsType) {
        this.isGoodsType = isGoodsType;
    }

    public Long getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Long registerTime) {
        this.registerTime = registerTime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getIsReception() {
        return isReception;
    }

    public void setIsReception(Integer isReception) {
        this.isReception = isReception;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getViaSendLongitude() {
        return viaSendLongitude;
    }

    public void setViaSendLongitude(double viaSendLongitude) {
        this.viaSendLongitude = viaSendLongitude;
    }

    public double getViaSendLatitude() {
        return viaSendLatitude;
    }

    public void setViaSendLatitude(double viaSendLatitude) {
        this.viaSendLatitude = viaSendLatitude;
    }

    public double getViaDestLongitude() {
        return viaDestLongitude;
    }

    public void setViaDestLongitude(double viaDestLongitude) {
        this.viaDestLongitude = viaDestLongitude;
    }

    public double getViaDestLatitude() {
        return viaDestLatitude;
    }

    public void setViaDestLatitude(double viaDestLatitude) {
        this.viaDestLatitude = viaDestLatitude;
    }

    public double getDestLongitude() {
        return destLongitude;
    }

    public void setDestLongitude(double destLongitude) {
        this.destLongitude = destLongitude;
    }

    public double getDestLatitude() {
        return destLatitude;
    }

    public void setDestLatitude(double destLatitude) {
        this.destLatitude = destLatitude;
    }

    public String getLastFreight() {
        return lastFreight;
    }

    public void setLastFreight(String lastFreight) {
        this.lastFreight = lastFreight;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getEndReason() {
        return endReason;
    }

    public void setEndReason(String endReason) {
        this.endReason = endReason;
    }

    public String getSecondGoodsTypeName() {
        return secondGoodsTypeName;
    }

    public void setSecondGoodsTypeName(String secondGoodsTypeName) {
        this.secondGoodsTypeName = secondGoodsTypeName;
    }

    /**
     * 货物类型名字
     * 包含一、二级
     *
     * @return
     */
    public String getGoodsTypesName() {
        String name = "";
        if (!TextUtils.isEmpty(goodsTypeName)) {
            name += !TextUtils.isEmpty(secondGoodsTypeName) ? goodsTypeName + "/" : goodsTypeName;
        }
        if (!TextUtils.isEmpty(secondGoodsTypeName)) {
            name += secondGoodsTypeName;
        }
        return name;
    }

    @Override
    public String toString() {
        return "GoodsSourceDetail{" +
                "id=" + id +
                ", no='" + no + '\'' +
                ", provinceNo='" + provinceNo + '\'' +
                ", provinceName='" + provinceName + '\'' +
                ", cityNo='" + cityNo + '\'' +
                ", cityName='" + cityName + '\'' +
                ", districtNo='" + districtNo + '\'' +
                ", districtName='" + districtName + '\'' +
                ", detailAddress='" + detailAddress + '\'' +
                ", longitude=" + longitude +
                ", latitude=" + latitude +
                ", sendPeople='" + sendPeople + '\'' +
                ", sendPhone='" + sendPhone + '\'' +
                ", sendGoodsUnit='" + sendGoodsUnit + '\'' +
                ", loadRequire='" + loadRequire + '\'' +
                ", firstDistance='" + firstDistance + '\'' +
                ", viaSendProvinceNo='" + viaSendProvinceNo + '\'' +
                ", viaSendProvinceName='" + viaSendProvinceName + '\'' +
                ", viaSendCityNo='" + viaSendCityNo + '\'' +
                ", viaSendCityName='" + viaSendCityName + '\'' +
                ", viaSendDistrictNo='" + viaSendDistrictNo + '\'' +
                ", viaSendDistrictName='" + viaSendDistrictName + '\'' +
                ", viaSendDetailAddress='" + viaSendDetailAddress + '\'' +
                ", viaSendLongitude=" + viaSendLongitude +
                ", viaSendLatitude=" + viaSendLatitude +
                ", secondDistance='" + secondDistance + '\'' +
                ", viaDestProvinceNo='" + viaDestProvinceNo + '\'' +
                ", viaDestProvinceName='" + viaDestProvinceName + '\'' +
                ", viaDestCityNo='" + viaDestCityNo + '\'' +
                ", viaDestCityName='" + viaDestCityName + '\'' +
                ", viaDestDistrictNo='" + viaDestDistrictNo + '\'' +
                ", viaDestDistrictName='" + viaDestDistrictName + '\'' +
                ", viaDestDetailAddress='" + viaDestDetailAddress + '\'' +
                ", viaDestLongitude=" + viaDestLongitude +
                ", viaDestLatitude=" + viaDestLatitude +
                ", thirdDistance='" + thirdDistance + '\'' +
                ", destProvinceNo='" + destProvinceNo + '\'' +
                ", destProvinceName='" + destProvinceName + '\'' +
                ", destCityNo='" + destCityNo + '\'' +
                ", destCityName='" + destCityName + '\'' +
                ", destDistrictNo='" + destDistrictNo + '\'' +
                ", destDistrictName='" + destDistrictName + '\'' +
                ", destDetailAddress='" + destDetailAddress + '\'' +
                ", destLongitude=" + destLongitude +
                ", destLatitude=" + destLatitude +
                ", receptionPeople='" + receptionPeople + '\'' +
                ", receptionPhone='" + receptionPhone + '\'' +
                ", receiveGoodsUnit='" + receiveGoodsUnit + '\'' +
                ", unloadRequire='" + unloadRequire + '\'' +
                ", totalDistance='" + totalDistance + '\'' +
                ", handleTypeNo='" + handleTypeNo + '\'' +
                ", shipmentTime=" + shipmentTime +
                ", shipmentEndTime=" + shipmentEndTime +
                ", arrivalTime=" + arrivalTime +
                ", goodsModeNo='" + goodsModeNo + '\'' +
                ", goodsTypeName='" + goodsTypeName + '\'' +
                ", packingModeNo='" + packingModeNo + '\'' +
                ", packingModeName='" + packingModeName + '\'' +
                ", weight='" + weight + '\'' +
                ", volume='" + volume + '\'' +
                ", performanceBond='" + performanceBond + '\'' +
                ", messagePrice='" + messagePrice + '\'' +
                ", freight='" + freight + '\'' +
                ", freightUnit=" + freightUnit +
                ", allFreight='" + allFreight + '\'' +
                ", carModelNo='" + carModelNo + '\'' +
                ", carLenNo='" + carLenNo + '\'' +
                ", heightHurdle='" + heightHurdle + '\'' +
                ", isDump=" + isDump +
                ", note='" + note + '\'' +
                ", payType='" + payType + '\'' +
                ", receiptAccountRequire='" + receiptAccountRequire + '\'' +
                ", otherPaymentRequire='" + otherPaymentRequire + '\'' +
                ", invoice='" + invoice + '\'' +
                ", tariff='" + tariff + '\'' +
                ", invoicingCompanyName='" + invoicingCompanyName + '\'' +
                ", invoicingTaxNumber='" + invoicingTaxNumber + '\'' +
                ", invoicingAddress='" + invoicingAddress + '\'' +
                ", invoicingCompanyPhone='" + invoicingCompanyPhone + '\'' +
                ", invoicingBank='" + invoicingBank + '\'' +
                ", invoicingBankAccount='" + invoicingBankAccount + '\'' +
                ", invoicingBankNumber='" + invoicingBankNumber + '\'' +
                ", lostPromise='" + lostPromise + '\'' +
                ", overduePromise='" + overduePromise + '\'' +
                ", otherPromise='" + otherPromise + '\'' +
                ", pattern=" + pattern +
                ", addField='" + addField + '\'' +
                ", companyNo='" + companyNo + '\'' +
                ", companyName='" + companyName + '\'' +
                ", teamNo='" + teamNo + '\'' +
                ", teamName='" + teamName + '\'' +
                ", endTime=" + endTime +
                ", contrcts='" + contrcts + '\'' +
                ", contrctsNumber='" + contrctsNumber + '\'' +
                ", status='" + status + '\'' +
                ", state=" + state +
                ", offerNum=" + offerNum +
                ", isUntreated='" + isUntreated + '\'' +
                ", orderNo='" + orderNo + '\'' +
                ", userNo='" + userNo + '\'' +
                ", updateTime=" + updateTime +
                ", handleTypeName='" + handleTypeName + '\'' +
                ", carTypeName='" + carTypeName + '\'' +
                ", carLenName='" + carLenName + '\'' +
                ", companyAddress='" + companyAddress + '\'' +
                ", diyField=" + diyField +
                ", terminal=" + terminal +
                ", isTrue=" + isTrue +
                ", imAccount='" + imAccount + '\'' +
                ", imToken='" + imToken + '\'' +
                ", contrctsImAccount='" + contrctsImAccount + '\'' +
                ", lowestPrice='" + lowestPrice + '\'' +
                ", intentionCarNumber=" + intentionCarNumber +
                ", place=" + place +
                ", isCarType=" + isCarType +
                ", isGoodsType=" + isGoodsType +
                ", registerTime=" + registerTime +
                ", address='" + address + '\'' +
                ", isReception=" + isReception +
                ", userAccount='" + userAccount + '\'' +
                ", itemType=" + itemType +
                ", lastFreight='" + lastFreight + '\'' +
                ", logo='" + logo + '\'' +
                ", endReason='" + endReason + '\'' +
                ", freightType=" + freightType +
                ", transportType=" + transportType +
                ", username='" + username + '\'' +
                ", startPointTime=" + startPointTime +
                ", endPointTime=" + endPointTime +
                ", isBidding=" + isBidding +
                ", transportationQuire='" + transportationQuire + '\'' +
                ", transportationQualification='" + transportationQualification + '\'' +
                ", renegePromise='" + renegePromise + '\'' +
                ", registeredMoney='" + registeredMoney + '\'' +
                ", secondPartyDuty='" + secondPartyDuty + '\'' +
                ", projectDesc='" + projectDesc + '\'' +
                ", projectAddress=" + projectAddress +
                ", projectName='" + projectName + '\'' +
                ", prepaidProportion='" + prepaidProportion + '\'' +
                ", otherSettlementRequire='" + otherSettlementRequire + '\'' +
                ", otherOfferRequire='" + otherOfferRequire + '\'' +
                ", motorcadeSize='" + motorcadeSize + '\'' +
                ", includeTax=" + includeTax +
                ", endContractPromise='" + endContractPromise + '\'' +
                ", partyDuty='" + partyDuty + '\'' +
                ", specification='" + specification + '\'' +
                ", damagePromise='" + damagePromise + '\'' +
                ", damageCompensation='" + damageCompensation + '\'' +
                ", offerType='" + offerType + '\'' +
                ", contactInfo=" + contactInfo +
                ", goodsOfferUnits=" + goodsOfferUnits +
                ", offerAgreed=" + offerAgreed +
                ", biddingSupplyOrderNum=" + biddingSupplyOrderNum +
                ", secondGoodsTypeName='" + secondGoodsTypeName + '\'' +
                '}';
    }

    public String getInvoiceWords() {
        if (TextUtils.isEmpty(invoice))
            return "";
        switch (invoice) {
            case "0":
            case "1":
                return "不开发票";
            case "2":
                return "普通发票";
            case "3":
                return "增值税专用发票";
            default:
                return invoice;
        }
    }

    public String getloadRequireWords() {
        if (TextUtils.isEmpty(loadRequire))
            return "";
        switch (loadRequire) {
            case "1":
                return "运方装车";
            case "2":
                return "业主装车";
            case "3":
                return "商议";
            default:
                return "/";
        }
    }

    public String getUnloadRequireWords() {
        if (TextUtils.isEmpty(unloadRequire))
            return "";
        switch (unloadRequire) {
            case "1":
                return "运方装车";
            case "2":
                return "业主装车";
            case "3":
                return "商议";
            default:
                return "/";
        }
    }

    public String getFreightUnitType() {
        String str = "";//*1：元/趟，2：元/吨，3：元/方
        if (freightUnit == null) {
            str = "元/吨";
            return str;
        }
        switch (freightUnit) {
            case 1:
                str = "元/趟";
                break;
            case 3:
                str = "元/方";
                break;
            default:
                str ="元/吨";
                break;
        }
        return str;
    }

    @Override
    public int getItemType() {
        return itemType;
    }
    public Integer getFreightType() {
        if (freightType == null) return null;
        return freightType;
    }
    public void setFreightType(Integer freightType) {
        this.freightType = freightType;
    }

    public Integer getTransportType() {
        return transportType;
    }

    public void setTransportType(Integer transportType) {
        this.transportType = transportType;
    }

    public String getFreightTypeWorlds() {
        String mfreightType = "";
        if (freightType == null) return "";
        if (0 == freightType) {
            mfreightType = "";
        } else if (1 == freightType) {
            mfreightType = "电议";
        }
        return mfreightType;
    }

    public String getTransportTypeWorlds() {
        String mtransportType = "";
        if (transportType == null) return "";
        if (0 == transportType) {
            mtransportType = "零担";
        } else if (1 == transportType) {
            mtransportType = "整车";
        }
        return mtransportType;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getStartPointTime() {
        return startPointTime;
    }

    public void setStartPointTime(Integer startPointTime) {
        this.startPointTime = startPointTime;
    }

    public Integer getEndPointTime() {
        return endPointTime;
    }

    public void setEndPointTime(Integer endPointTime) {
        this.endPointTime = endPointTime;
    }

    public boolean isBidding() {
        return isBidding;
    }

    public void setBidding(boolean bidding) {
        isBidding = bidding;
    }

    public String getTransportationQuire() {
        return transportationQuire;
    }

    public void setTransportationQuire(String transportationQuire) {
        this.transportationQuire = transportationQuire;
    }

    public String getTransportationQualification() {
        return transportationQualification;
    }

    public void setTransportationQualification(String transportationQualification) {
        this.transportationQualification = transportationQualification;
    }

    public String getRenegePromise() {
        return renegePromise;
    }

    public void setRenegePromise(String renegePromise) {
        this.renegePromise = renegePromise;
    }

    public String getRegisteredMoney() {
        return registeredMoney;
    }

    public void setRegisteredMoney(String registeredMoney) {
        this.registeredMoney = registeredMoney;
    }

    public String getSecondPartyDuty() {
        return secondPartyDuty;
    }

    public void setSecondPartyDuty(String secondPartyDuty) {
        this.secondPartyDuty = secondPartyDuty;
    }

    public String getProjectDesc() {
        return projectDesc;
    }

    public void setProjectDesc(String projectDesc) {
        this.projectDesc = projectDesc;
    }

    public ProjectAddressDTO getProjectAddress() {
        return projectAddress;
    }

    public void setProjectAddress(ProjectAddressDTO projectAddress) {
        this.projectAddress = projectAddress;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getPrepaidProportion() {
        return prepaidProportion;
    }

    public void setPrepaidProportion(String prepaidProportion) {
        this.prepaidProportion = prepaidProportion;
    }

    public String getOtherSettlementRequire() {
        return otherSettlementRequire;
    }

    public void setOtherSettlementRequire(String otherSettlementRequire) {
        this.otherSettlementRequire = otherSettlementRequire;
    }

    public String getOtherOfferRequire() {
        return otherOfferRequire;
    }

    public void setOtherOfferRequire(String otherOfferRequire) {
        this.otherOfferRequire = otherOfferRequire;
    }

    public String getMotorcadeSize() {
        return motorcadeSize;
    }

    public void setMotorcadeSize(String motorcadeSize) {
        this.motorcadeSize = motorcadeSize;
    }

    public boolean isIncludeTax() {
        return includeTax;
    }

    public void setIncludeTax(boolean includeTax) {
        this.includeTax = includeTax;
    }

    public String getEndContractPromise() {
        return endContractPromise;
    }

    public void setEndContractPromise(String endContractPromise) {
        this.endContractPromise = endContractPromise;
    }

    public String getPartyDuty() {
        return partyDuty;
    }

    public void setPartyDuty(String partyDuty) {
        this.partyDuty = partyDuty;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getDamagePromise() {
        return damagePromise;
    }

    public void setDamagePromise(String damagePromise) {
        this.damagePromise = damagePromise;
    }

    public String getDamageCompensation() {
        return damageCompensation;
    }

    public void setDamageCompensation(String damageCompensation) {
        this.damageCompensation = damageCompensation;
    }

    public List<CargoPublishEntity.ContactInfoEntity> getContactInfo() {
        return contactInfo;
    }

    public void setContactInfo(List<CargoPublishEntity.ContactInfoEntity> contactInfo) {
        this.contactInfo = contactInfo;
    }

    public String getOfferType() {
        return offerType;
    }

    public String getOfferTypeWorlds(boolean isBidding) {
        if (TextUtils.isEmpty(offerType)) return "";
        StringBuffer other = new StringBuffer();
        String[] strArray = offerType.split(",");
        for (int i = 0; i < strArray.length; i++) {
            if ("1".equals(strArray[i])) {
                other.append("企业");
            } else if ("2".equals(strArray[i])) {
                if (other.length() != 0) {
                    other.append("/");
                }
                other.append("团队");
            } else if ("3".equals(strArray[i])) {
                if (other.length() != 0) {
                    other.append("/");
                }
                if (isBidding) {
                    other.append("个人");
                } else {
                    other.append("个人（司机）");
                }
            }
        }
        return other.toString();
    }

    public void setOfferType(String offerType) {
        this.offerType = offerType;
    }

    public List<GoodsOfferUnits> getGoodsOfferUnits() {
        return goodsOfferUnits;
    }

    public void setGoodsOfferUnits(List<GoodsOfferUnits> goodsOfferUnits) {
        this.goodsOfferUnits = goodsOfferUnits;
    }

    /**
     * 是否有已同意报价
     */
    public boolean hasOfferAgreed() {
        if (offerAgreed == null) {
            return false;
        }
        return offerAgreed != 0;
    }

    public Integer getBiddingSupplyOrderNum() {
        return biddingSupplyOrderNum;
    }

    public void setBiddingSupplyOrderNum(Integer biddingSupplyOrderNum) {
        this.biddingSupplyOrderNum = biddingSupplyOrderNum;
    }

    public Integer getOfferAgreed() {
        return offerAgreed;
    }

    public void setOfferAgreed(Integer offerAgreed) {
        this.offerAgreed = offerAgreed;
    }

    public String getWhetherShow() {
        return whetherShow;
    }

    public void setWhetherShow(String whetherShow) {
        this.whetherShow = whetherShow;
    }

    public String getShipperOwnerUnit() {
        return shipperOwnerUnit;
    }

    public void setShipperOwnerUnit(String shipperOwnerUnit) {
        this.shipperOwnerUnit = shipperOwnerUnit;
    }

    public String getShipperContact() {
        return shipperContact;
    }

    public void setShipperContact(String shipperContact) {
        this.shipperContact = shipperContact;
    }

    public String getShipperPhone() {
        return shipperPhone;
    }

    public void setShipperPhone(String shipperPhone) {
        this.shipperPhone = shipperPhone;
    }
}
